package com.todo.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.todo.dao.TeamInfoDAO;
import com.todo.dto.Result;

public interface ITeamInfoService extends IService<TeamInfoDAO> {

    /**
     * 根据团队名字创建团队
     * @param teamName
     * @return
     */
    Result createTeam(String teamName);

    /**
     * 根据uid与tid将该用户加入团队
     * @param uid
     * @param tid
     * @return
     */
    public Result addMember(String uid, String tid);

}
